//
//  AppTools.h
//  UI12豆瓣大项目
//
//  Created by dllo on 15/10/28.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void(^AppToolsBlock)(id result);
typedef void(^ErrorBlock)(NSError *error);
@interface AppTools : NSObject

+(void)getDataWithkey:(NSString *)name
                block:(AppToolsBlock)block;

+(void)getImage:(NSString *)imageUrl
          block:(AppToolsBlock)block;
@property (nonatomic,retain) id result;
@end
